package com.qf.fmall01.dao;


import com.qf.fmall01.entity.ShoppingCart;
import com.qf.fmall01.entity.ShoppingCartVO;
import com.qf.fmall01.general.GeneralDAO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShoppingCartMapper extends GeneralDAO<ShoppingCart> {
    List<ShoppingCartVO> listByUserId(@Param("userId") Integer userId);

    int updateCnumByCid(@Param("cid") Integer cid,@Param("cnum") Integer cnum);

    List<ShoppingCartVO> listbycids(List<String> cidsList);
}
